let a = 1
let b ={}

console.log(Object.prototype.toString.call(a));//把toString方法绑定在a上
console.log(Object.prototype.toString.call(b));//'[object Object]'